import {Avatar} from 'antd'


const AntAvatar = ({background, color, name, src, size,icon}) => (
    <Avatar src={src} icon={icon} size={size||'large'} style={{background:background||'', color:color||''}}>{name || ''}</Avatar>
)

export default AntAvatar
